﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Telerik.Windows.Controls;

namespace csla4Skeleton.UI.SL.Reports.BanHang
{

    public partial class Sales_InvoiceBookReport : ChildWindow
    {
        private int Thang = 0;
        private int Nam = 0;
        public Sales_InvoiceBookReport(int Thang, int Nam)
        {
            StyleManager.ApplicationTheme = new Office_BlackTheme();
            InitializeComponent();
            this.Thang = Thang;
            this.Nam = Nam;
            this.ReportViewer1.RenderBegin += new Telerik.ReportViewer.Silverlight.RenderBeginEventHandler(ReportViewer1_RenderBegin);
            this.ReportViewer1.Report = "ReportLibrary.Sales.Sales_InvoiceBook, ReportLibrary";
        }

        void ReportViewer1_RenderBegin(object sender, Telerik.ReportViewer.Silverlight.RenderBeginEventArgs args)
        {
            args.ParameterValues["Thang"] = Thang;
            args.ParameterValues["Nam"] = Nam;
        }
    }
}

